/**
 * Copyright (c) 2009 Cerner Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    Cerner Corporation - initial API and implementation
 */
package com.cerner.system.rest.jaas.cas;

/**
 * Internal factory API to create JAAS callbacks.
 * 
 * @param <T> implementation of the JAAS callback interface
 * @author Alex Horn
 * @since 1.0.0
 */
interface CallbackProvider<T extends javax.security.auth.callback.Callback> {

  /**
   * Instantiate a new JAAS callback of type {@code <T>}.
   * 
   * @return JAAS callback object
   */
  T get();
}
